const db = uniCloud.database();
exports.main = async (event, context) => {
	let {title,filesUrl} = event;
	return db.collection("picDemo").add({
		title,
		filesUrl
	});
};
